//获取跳转页面
var url=location.search;

if (url.indexOf("?") != -1) {
	var len = url.indexOf('html')+3;
    var url=url.substr(1,len);
}
//跳转
if(url){
	console.log(url);
	switch(url)
	{
		case 'anli/anli_index.html':
			$$('.panel.panel-left .design_anli').addClass('active');
			break;
		default:
			break;
	}
	//关闭loader
    myApp.hideIndicator();
    
	mainView.router.loadPage(url);
} 